﻿using System;
using System.Collections.Generic;
using Meqs.Entity;
using System.Collections;

namespace Meqs.Logic.Interface
{
    public interface IExamsSchoolLogic : ICommonLogic<ExamsSchool, int>
    {
        /// <summary>
        /// 查找学生参加的考试
        /// </summary>
        /// <param name="ht"></param>
        /// <returns></returns>
        IList<ExamsSchool> FindStudentExam(Hashtable ht);
        /// <summary>
        /// 创建学校考试，以及考试对应科目信息
        /// </summary>
        /// <param name="eduExam"></param>
        /// <param name="listSubject"></param>
        /// <returns></returns>
        int InsertShoolExam(ExamsSchool shoolExam, List<CauseInfo> listSubject);

        /// <summary>
        /// 删除学校考试，以及科目信息
        /// </summary>
        /// <param name="examId"></param>
        /// <returns></returns>
        int DelShoolExam(int examId, string schoolMark);


        /// <summary>
        /// 修改学校考试，及其科目信息
        /// </summary>
        /// <param name="eduExam"></param>
        /// <param name="listSubject"></param>
        /// <returns></returns>
        int UpdateSchoolExam(ExamsSchool schoolExam, List<CauseInfo> listSubject);


       
    }
}